﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true"
    CodeFile="GamesAdd.aspx.cs" ValidateRequest="false" Inherits="public_html_NewSite_CMSV2_GamesAdd"
    Title="Tilføj Spil" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h3>
        Tilføj Spil</h3>
    <cc1:TabContainer ID="TabContainer1" runat="server" Width="600px">
        <cc1:TabPanel ID="TabBasis" runat="server" HeaderText="Basis info">
            <ContentTemplate>
                <table width="100%" border="0" cellspacing="5">
                    <tr>
                        <td>
                            Spillets Titel</td>
                        <td>
                            <asp:TextBox ID="TxtTitel" runat="server" Width="300px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="TxtTitel"
                                runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Udvikler</td>
                        <td>
                            <asp:TextBox ID="TxtUdvikler" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Udgiver</td>
                        <td>
                            <asp:TextBox ID="TxtUdgiver" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            SpilID</td>
                        <td>
                            <asp:TextBox ID="TxtID" Enabled="False" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            Formater</td>
                        <td>
                            <asp:CheckBoxList ID="ListFormat" runat="server">
                                <asp:ListItem Text="Xbox 360" Value="1"></asp:ListItem>
                                <asp:ListItem Text="Playstation 3" Value="3"></asp:ListItem>
                                <asp:ListItem Text="Nintendo Wii" Value="4"></asp:ListItem>
                                <asp:ListItem Text="PC" Value="2"></asp:ListItem>
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Genre</td>
                        <td>
                            <asp:DropDownList ID="ListGenre" runat="server">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="BtmSaveGame" runat="server" Text="Gem Spillet" OnClick="BtmSaveGame_Click" />
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </cc1:TabPanel>
        <cc1:TabPanel ID="TabRelease" runat="server" HeaderText="Release info">
            <ContentTemplate>
                <table width="100%" border="0" cellspacing="5">
                    <tr>
                        <td>
                            Xbox 360</td>
                        <td>
                            <asp:TextBox ID="DateXbox360" runat="server" Width="300px"></asp:TextBox>
                            <cc1:CalendarExtender ID="XboxCal" TargetControlID="DateXbox360" runat="server" Format="yyyy-MM-dd">
                            </cc1:CalendarExtender>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Playstation 3</td>
                        <td>
                            <asp:TextBox ID="DatePlaystation3" runat="server" Width="300px"></asp:TextBox>
                            <cc1:CalendarExtender ID="CalendarExtender1" TargetControlID="DatePlaystation3" runat="server"
                                Format="yyyy-MM-dd">
                            </cc1:CalendarExtender>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Nintendo Wii</td>
                        <td>
                            <asp:TextBox ID="DateWii" runat="server" Width="300px"></asp:TextBox>
                            <cc1:CalendarExtender ID="CalendarExtender3" TargetControlID="DateWii" runat="server"
                                Format="yyyy-MM-dd">
                            </cc1:CalendarExtender>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            PC</td>
                        <td>
                            <asp:TextBox ID="DatePC" runat="server" Width="300px"></asp:TextBox>
                            <cc1:CalendarExtender ID="PCCal" TargetControlID="DatePC" runat="server" Format="yyyy-MM-dd">
                            </cc1:CalendarExtender>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </cc1:TabPanel>
        <cc1:TabPanel ID="TabMulti" runat="server" HeaderText="Multiplayer info">
            <ContentTemplate>
                <table width="100%" border="0" cellspacing="5">
                    <tr>
                        <td>
                            Xbox 360</td>
                        <td>
                            <asp:TextBox ID="MultiXbox360" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Playstation 3</td>
                        <td>
                            <asp:TextBox ID="MultiPlaystation3" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <td>
                        Nintendo Wii</td>
                    <td>
                        <asp:TextBox ID="MultiWii" runat="server" Width="300px"></asp:TextBox>
                    </td>
                    </tr>
                    <tr>
                        <td>
                            PC</td>
                        <td>
                            <asp:TextBox ID="MultiPC" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                </table>
                <div runat="server" id="hej">
                </div>
            </ContentTemplate>
        </cc1:TabPanel>
    </cc1:TabContainer>
</asp:Content>
